package A13_四大函数式接口;

import java.util.function.Supplier;

/**
 * @Author: KingWang
 * @Date: 2021/5/25
 * @Desc:
 **/
public class SupplierDemo {

    public static void main(String[] args) {

        Supplier<Integer> supplier = () -> 3;
        System.out.println(supplier.get());

    }
}
